﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Administracion;
using Generico.Coneccion;

namespace CienciaYDeporte.Administracion
{
    public partial class Formulario_web12 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var cn = new ClsConeccion();
            cn.Abrir();
            var dr = cn.EjecutarSpDataReader("spGetArticulosAdministracion");
            var dt = new DataTable();
            dt.Load(dr);
            GridView1.DataSource = dt;
            GridView1.DataBind();
            cn.Cerrar();
        }

      

     
    }
}
